package com.wetao.lib_common.bean.response;

import com.google.gson.Gson;
import com.wetao.lib_common.base.Base2Response;

import java.io.Serializable;
import java.util.List;

/**
 * author: zhouyh
 * created on: 2021/6/17 6:45 下午
 * description:学科数据
 */
public class SubjectInfo extends Base2Response implements Serializable {


    private List<SubjectBean> data;

    public List<SubjectBean> getData() {
        return data;
    }

    public static SubjectInfo objectFromData(String str) {

        return new Gson().fromJson(str, SubjectInfo.class);
    }

    public static class SubjectBean implements Serializable {
        /**
         * id : 14
         * name : 语文
         * orderStatus : null
         * waitNum : null
         */

        private Integer id;
        private String name;
        private Object orderStatus;
        private Object waitNum;

        public static SubjectBean objectFromData(String str) {
            return new Gson().fromJson(str, SubjectBean.class);
        }

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Object getOrderStatus() {
            return orderStatus;
        }

        public void setOrderStatus(Object orderStatus) {
            this.orderStatus = orderStatus;
        }

        public Object getWaitNum() {
            return waitNum;
        }

        public void setWaitNum(Object waitNum) {
            this.waitNum = waitNum;
        }
    }
}
